package com.hzy.quetosys.dao;



import com.hzy.quetosys.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerMapper {

    List<Customer> selectAll();

    int insert(Customer customer);

    List<Customer> selectByCondition(Customer condition);

    List<Customer> selectByIds(List<Integer> ids);

    int updateById(Customer customer);

    List<Customer> selectPage(@Param("start") int start,@Param("size") int size);

    List<Customer> selectByKeyword(String keyword);

    Customer selectById(int id);

    int deleteById(int id);
}
